package com.ogilvy.audi.service;

import java.util.List;
import java.util.Map;

import com.ogilvy.audi.bean.Topic;
import com.ogilvy.frame.page.PageTools;

public interface TopicService {
	public PageTools<Topic> query();
	public PageTools<Topic> query(int pageNo, int pageSize,Map<String,Object> condition);
	public PageTools<Topic> query(Map<String,Object> condition);
	public Topic add(Topic topic);
	public boolean del(Integer topicId);
	public List<Topic> queryNewTopic();
}
